<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--

Copyright 2023 Steinar Bang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations
under the License.
-->

<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="ratatoskr">
    <repository>mvn:no.priv.bang.authservice/karaf/${authservice.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.db.liquibase/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.services/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.db.liquibase.test/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.db.liquibase.production/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.backend/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.backend.testdata/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.web.security/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.web.api/${project.version}/xml/features</repository>
    <repository>mvn:no.priv.bang.ratatoskr/ratatoskr.web.frontend/${project.version}/xml/features</repository>
    <feature name="ratatoskr-with-derby" description="ratatoskr webapp with derby database" version="${project.version}">
        <feature>ratatoskr-db-test</feature>
        <feature>ratatoskr-web-frontend</feature>
        <feature>user-admin-with-testdb</feature>
        <feature>ratatoskr-backend-testdata</feature>
    </feature>
    <feature name="ratatoskr-with-derby-and-provided-authservice" description="ratatoskr webapp with derby database and expecting authservice to be pre-installed" version="${project.version}">
        <feature>ratatoskr-db-test</feature>
        <feature>ratatoskr-web-frontend</feature>
        <feature>ratatoskr-backend-testdata</feature>
    </feature>
    <feature name="ratatoskr-with-postgresql" description="ratatoskr webapp with postgresql database" version="${project.version}">
        <feature>ratatoskr-db-production</feature>
        <feature>ratatoskr-web-frontend</feature>
        <feature>user-admin-with-productiondb</feature>
    </feature>
    <feature name="ratatoskr-with-postgresql-and-provided-authservice" description="ratatoskr webapp with postgresql database and expecting authservice to be pre-installed" version="${project.version}">
        <feature>ratatoskr-db-production</feature>
        <feature>ratatoskr-web-frontend</feature>
    </feature>
</features>
